<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>上传文件</title>
<link href="<%=path %>/css/style.css" rel="stylesheet" type="text/css" />

<link rel="stylesheet" type="text/css" href="css/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="css/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="css/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="css/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="css/h-ui.admin/css/style.css" />


<script type="text/javascript" src="<%=path %>/js/jquery.js"></script>
<script type="text/javascript" src="<%=path %>/js/common.js"></script>
<script type="text/javascript">

/*
 *_contextPath:上下文路径
 *_modulePath: 模块路径
 */
var  _contextPath="<%=path%>";
var  _modulePath=_contextPath+"/sys/";
$(document).ready(function(){
  $(".clicks").click(function(){
   _open(_modulePath+"textures_open.action?view=add");
  });
});
</script>


<!-- 获取目录id和名称 -->
<script type="text/javascript">

  function optionTask(regularNodes){
    if(null !=regularNodes && regularNodes.length>0 ){
      //获取目录名
      var indexName = regularNodes[0].indexName;
      //返回最后出现的位置
      var a =indexName.lastIndexOf("-");
      //去除目录名中的级别
      indexName = indexName.substring(a+1,indexName.length);
      var indexId = regularNodes[0].indexId;
	   
	    $("#indexName").attr("value" ,indexName);
	    $("#indexId").attr("value" ,indexId);
	
    }
  }
</script>
<style type="text/css">
.tablelinkdelete{color:#056dae;}
</style>

<!-- 时间插件 -->
 <script language="javascript" type="text/javascript"   src="My97DatePickerBeta/My97DatePickerBeta/My97DatePicker/WdatePicker.js"></script>

</head>
<%-- <body>
	

        
     	<form action="<%= basePath%>/biz/Video_videoAdd.action" method="post"  target="rightFrame" enctype="multipart/form-data">
     	 <table>
			       <tr>
			         <td><label>上传附件：</label></td>
			         <td>
			           <input type="file" id="upload"  name="upload" /> 
			           <label></label>
			           <input class="scbtn" style="width: 80px; height: 30px;margin-top:6px;margin-bottom:6px;" type="button" onclick="addFile();"  id="add" value="添加附件" />
			           <div id="q"></div>
			         </td>
			       </tr>
			     </table>
			        <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/></li>
    	</form>
	

</body> --%>

<body>

	
    <div class="formbody"  id="tab1">
    <div class="formtitle"><span>上传文件</span></div>
    
    <form action="<%= basePath%>/biz/ServiceUpload_ addFile.action" method="post" enctype="multipart/form-data">
    <ul class="forminfo">
	         
      <li>
<table>
			       <tr>
			         <td><label>文件上传：</label></td>
			         <td>
			           <input type="file"    name="file" /> 
			         </td>
			       </tr>
			       
			       <tr>
			       <td><input type="radio" name="updata" value="ture" checked="checked"/>同时导入数据</td>
			       <td><input type="radio" name="updata" value="false"/>不导入数据</td>
			       </tr>
			       
			       <tr><td>请输入主键名称：<input name="mainId" type="text"/></td></tr>
			       
			     </table>
			   </li>	
     </ul>
    <br/>
    <ul class="forminfo">
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="确认保存"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <a href="<%=basePath%>/biz/ServiceForm_openAdd.action"><input name="" type="button" class="btn" value="取消"/></a>
    </li>
    </ul>
    </form>
    </div>
</body>


</html>
